package com.jspgou.cms.dao;

import java.util.List;

import com.jspgou.common.hibernate3.Updater;
import com.jspgou.common.page.Pagination;
import com.jspgou.cms.entity.Adspace;

public interface AdspaceDao {
	
	public List<Adspace> getList();
	
	public List<Adspace> getListByStoreId(Long storeId,Boolean enabled);
	
	public Pagination getPagination(Long storeId,int pageNo, int pageSize);
	
	public Adspace findById(Long id);

	public Adspace save(Adspace bean);

	public Adspace updateByUpdater(Updater<Adspace> updater);

	public Adspace deleteById(Long id);
	
}